package com.bootdo.program.wallpaper.dao;

import com.bootdo.program.wallpaper.domain.SettlemenbillDO;

import java.util.List;
import java.util.Map;

import com.bootdo.program.wallpaper.domain.SettlemendaysBillDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户结算账单
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-10-30 23:38:53
 */
@Mapper
public interface SettlemenbillDao {

	SettlemenbillDO get(Long id);
	
	List<SettlemenbillDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(SettlemenbillDO settlemenbill);
	
	int update(SettlemenbillDO settlemenbill);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);


	int batchSave(List<SettlemenbillDO> list);

	int selectCount(SettlemenbillDO settlemenbill);

	int updateStatus(Map<String,Object> map);

	int updateSettlemenStatus(SettlemendaysBillDO settlemenbill);

	List<SettlemenbillDO> selectSettlementInfo(@Param("time")String time,@Param("settlemantPlatform")Integer settlemantPlatform);

	List<SettlemenbillDO> selectSettlementInfoOri(@Param("time")String time,@Param("settlemantPlatform")Integer settlemantPlatform);

	int updateSettlementInfo(@Param("time")String time,@Param("settlemantPlatform")Integer settlemantPlatform);

	int updateSettlementInfoOne(@Param("id")Long id,@Param("settlemantPlatform") Integer settlemantPlatform);

	int updateSettlemenStatusAll(SettlemendaysBillDO settlemenbill);
}
